from django.db import models

# Create your models here.
class Login(models.Model):
  uname=models.CharField(max_length=30)
  pswd=models.CharField(max_length=255)

class Article(models.Model):
  biao_ti=models.CharField(max_length=100)
  nei_rong=models.CharField(max_length=1500)
  nan_du=models.IntegerField()

class Detail(models.Model):
  uname=models.CharField(max_length=30)
  biao_ti=models.CharField(max_length=100)
  nan_du=models.IntegerField()
  start_time=models.CharField(max_length=100)
  end_time=models.CharField(max_length=100)

class Logs(models.Model):
  uname=models.CharField(max_length=30)
  time=models.CharField(max_length=100)
  action=models.CharField(max_length=50)